﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using SingleUserMall.Authorization.Users;

namespace SingleUserMall.Stores.VO
{
    [AutoMapFrom(typeof(UserStoreFavorite))]
    public class UserStoreFavoriteVO : EntityDto<long>
    {
        /// <summary>
        /// 店铺id
        /// </summary>
        public long StoreId { get; set; }
        internal Store inStore { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name => inStore?.Name;
        /// <summary>
        /// 图片
        /// </summary>
        public string Picture => inStore?.Picture;
        /// <summary>
        /// 店铺描述
        /// </summary>
        public string Description => inStore?.Discription;
    }
}
